@istest
private class mysimpleclass_TestMethod // Name of the test class, Can be any name
{         
    static testmethod void mysimpleclass_TestMethod()   // Name of the test method. Must be the same as the class name 
    {
        Testmysimpleclass testcls = new Testmysimpleclass();   // Initialize variable for original class 
        testcls.samplemethod();                        // Call Function of Original class
    }    
}